home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ9310.ZIP
/
DFPP03.ZIP
/
BUTTON.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-24
|
656b
|
29 lines
// ----------- button.h
#ifndef BUTTON_H
#define BUTTON_H
#include "textbox.h"
class Button : public TextBox {
Bool setting;
protected:
char setchar;
Button(const char *lbl, int lf, int tp, DFWindow *par);
public:
// -------- API messages
virtual Bool SetFocus();
virtual void ResetFocus();
virtual void Paint();
virtual void Keyboard(int key);
virtual void LeftButton(int mx, int my);
virtual void InvertButton();
virtual void PushButton();
virtual void ReleaseButton();
Bool Setting() { return setting; }
virtual void ShortcutSelect() { InvertButton(); }
};
#endif